package com.localShare;
import android.content.Intent;
import android.widget.LinearLayout;

import com.localShare.activity.EntryActivity;

/**
 * Created by 883564
 * on 2016/4/29.
 * 公共变量类
 */
public class Common {
    //被选中的上一个缩略图
    public static LinearLayout lastSelectedThumbImageViewBorder;
    //被选中的上一个缩略图的索引
    public static int lastSelectedThumbImageViewPosition;
    //全图是否是因为缩略图被点击而加载的
    public static boolean comFromThumbImageView=true;
    //当前缩略图是否显示
    public static boolean currentThumbImageShow=true;
    //上次ACTION_UP的时间
    public static long lastUpTime=0l;
    //此次ACTION_DOWN的时间
    public static long currentDownTime=0l;
    //此次ACTION_DOWN的X坐标
    public static float currentDownX=0;
    //EntryActivity的一个实例
    public static EntryActivity entryActivity;
    //与EntryActivity相关的action
    public static String action;
    //与EntryActivity相关的意图
    public static Intent intent;
    //模拟被授权界面覆盖，然后没有授权的标识
    public static int simulationAuthorizationFailFlag=Constant.SIMULATION_AUTHORIZATION_FAIL_INIT;
}
